package com.macro.mall.mapper;

import com.macro.mall.dto.BmsTourismProjectActivitiesParam;
import com.macro.mall.model.BmsTourismProjectActivities;
import com.macro.mall.model.BmsTourismProjectActivitiesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BmsTourismProjectActivitiesMapper {

    long countByExample(BmsTourismProjectActivitiesExample example);

    int deleteByExample(BmsTourismProjectActivitiesExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BmsTourismProjectActivities row);

    int insertSelective(BmsTourismProjectActivities row);

    List<BmsTourismProjectActivities> selectByExampleWithBLOBs(BmsTourismProjectActivitiesExample example);

    List<BmsTourismProjectActivities> selectByExample(BmsTourismProjectActivitiesExample example);

    List<BmsTourismProjectActivities> selectListByQuery(BmsTourismProjectActivitiesParam query);

    BmsTourismProjectActivities selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BmsTourismProjectActivities row,
            @Param("example") BmsTourismProjectActivitiesExample example);

    int updateByExampleWithBLOBs(@Param("row") BmsTourismProjectActivities row,
            @Param("example") BmsTourismProjectActivitiesExample example);

    int updateByExample(@Param("row") BmsTourismProjectActivities row,
            @Param("example") BmsTourismProjectActivitiesExample example);

    int updateByPrimaryKeySelective(BmsTourismProjectActivities row);

    int updateByPrimaryKeyWithBLOBs(BmsTourismProjectActivities row);

    int updateByPrimaryKey(BmsTourismProjectActivities row);

    int getActivitiesHasRegistrationNum(@Param("activitiesId") Long activitiesId, @Param("userId") Long userId);

}